package com.example.pest.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("article")
public class Article {
    /*
     * @TableId(type = IdType.AUTO)设置主键自增
     * */
     @TableId(type = IdType.AUTO)
     private Integer id;
     private String title;
     private String content;
     private String username;
     private String createTime;
}
